package com.example.anliku.service.serviceImpl;

import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import com.example.anliku.mapper.ExampleTypesMapper;
import com.example.anliku.entity.ExampleTypes;
import com.example.anliku.service.ExampleTypesService;
@Service
public class ExampleTypesServiceImpl implements ExampleTypesService{

    @Resource
    private ExampleTypesMapper exampleTypesMapper;

    @Override
    public int deleteByPrimaryKey(Integer exampleTypeId) {
        return exampleTypesMapper.deleteByPrimaryKey(exampleTypeId);
    }

    @Override
    public int insert(ExampleTypes record) {
        return exampleTypesMapper.insert(record);
    }

    @Override
    public int insertSelective(ExampleTypes record) {
        return exampleTypesMapper.insertSelective(record);
    }

    @Override
    public ExampleTypes selectByPrimaryKey(Integer exampleTypeId) {
        return exampleTypesMapper.selectByPrimaryKey(exampleTypeId);
    }

    @Override
    public int updateByPrimaryKeySelective(ExampleTypes record) {
        return exampleTypesMapper.updateByPrimaryKeySelective(record);
    }

    @Override
    public int updateByPrimaryKey(ExampleTypes record) {
        return exampleTypesMapper.updateByPrimaryKey(record);
    }

}
